package com.limedia.explorer.entity;

import java.io.Serializable;
import java.util.List;

public class LoginData implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4341522485232061666L;
	private Data data;

	public void setData(Data data) {
		this.data = data;
	}

	public Data getData() {
		return this.data;
	}

	@Override
	public String toString() {
		return "LoginData [data=" + data + "]";
	}

	public class Data implements Serializable {

		/**
		 * 
		 */
		private static final long serialVersionUID = -6860495505481120952L;

		private String userList;

		private int userId;

		private String msg;
		
		private List<UrlData> urlList;

		public String getUserList() {
			return userList;
		}

		public void setUserList(String userList) {
			this.userList = userList;
		}

		public int getUserId() {
			return userId;
		}

		public void setUserId(int userId) {
			this.userId = userId;
		}

		public String getMsg() {
			return msg;
		}

		public void setMsg(String msg) {
			this.msg = msg;
		}

		public List<UrlData> getUrlList() {
			return urlList;
		}

		public void setUrlList(List<UrlData> urlList) {
			this.urlList = urlList;
		}

		@Override
		public String toString() {
			return "Data [userList=" + userList + ", userId=" + userId + ", msg=" + msg + ", urlList=" + urlList + "]";
		}

	}
	
	/**
	 * "id": 1,
        "userId": 56,
        "url": "rtmp://push.bcelive.com/live/n9c4q8rpcyqllqlu",
        "type": "pull"
	 * @author licongcong
	 *
	 */
	public class UrlData {
		private int id;
		private int userId;
		private String url;
		private String type;
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public int getUserId() {
			return userId;
		}
		public void setUserId(int userId) {
			this.userId = userId;
		}
		public String getUrl() {
			return url;
		}
		public void setUrl(String url) {
			this.url = url;
		}
		public String getType() {
			return type;
		}
		public void setType(String type) {
			this.type = type;
		}
		@Override
		public String toString() {
			return "UrlData [id=" + id + ", userId=" + userId + ", url=" + url + ", type=" + type + "]";
		}
		
		
	}

}
